package com.fengke.service;

import java.util.List;

import com.fengke.service.vo.AgentProfileVO;
import com.fengke.service.vo.RoleVO;

public interface AgentProfileService {

	AgentProfileVO researchAgentProfileByLoginInfo(AgentProfileVO agentProfileVO) throws Exception;

	Integer researchAgentProfileVOListSize(AgentProfileVO agentProfileVO) throws Exception;

	List<AgentProfileVO> researchAgentProfileVOList(AgentProfileVO agentProfileVO, int offset, int limit) throws Exception;

	boolean checkAdminUsernameUnique(AgentProfileVO agentProfileVO) throws Exception;

	Long createAgentProfile(AgentProfileVO agentProfileVO) throws Exception;

	List<RoleVO> researchRoleVOList(RoleVO roleVO) throws Exception;

	AgentProfileVO researchAgentProfileById(AgentProfileVO agentProfileVO) throws Exception;

	int updateAgentProfileById(AgentProfileVO agentProfileVO) throws Exception;

	int deleteAgentProfileByIds(List<String> list) throws Exception;

	int updateAgentProfileLoginSuccessInfo(AgentProfileVO agentProfileVO) throws Exception;

	int updateAgentProfileLoginFailureInfo(AgentProfileVO agentProfileVO) throws Exception;

	AgentProfileVO researchAgentProfileByUsername(AgentProfileVO agentProfileVO) throws Exception;

}
